package com.test.p07adapter.example03;

/**
 * 适配器，使用组合方式
 */
public class Adapter02 implements Target {

    private Adaptee adaptee;

    public Adapter02(Adaptee adaptee) {
        this.adaptee = adaptee;
    }

    @Override
    public void handleRequest() {
        adaptee.request();
    }
}
